<%@page language="java" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@taglib uri="TowkerTagLib" prefix="rbac"%>
<%@include file="/commons/include/html_doctype.html"%>
<html>
<head>
	<title>修改</title>
	<%@include file="/commons/include/upd.jsp" %>
	<script type="text/javascript">
$(function(){
	
	jQuery("#dataForm").validate(
	{
		rules: {
		},
		messages: {
		},
		submitHandler:function(form)
		{
			jQuery(form).ajaxSubmit(_options);
		}
	});
});
_callback = function() {
	location.href = ctx + "/manage/purchase/getPurchasePay.htm";
}
validCallBack = function()
{
	//添加页面自定义校验

	return true;
};
	</script>
</head>
<body>
<table border="0" cellspacing="0" cellpadding="0" class="listLogo">
	<tr>
		<td class="title">审核</td>
		<td>
			<div class="menuTool">
				<a class="save" id="dataFormSave" href="#">保存</a>
				<a class="back" href="getPurchasePay.htm">返回</a>
			</div>
		</td>
	</tr>
</table>
<div class="line"></div>
<form id="dataForm" method="post" action="auditPay2.htm">
<table border="0" cellspacing="1" cellpadding="0" class="listTable">
	<tr>
		<td class="form_title">申请单号：</td>
		<td class="form_input"><input type="text" id="pay_sn" name="pay_sn" value="${fn:escapeXml(po.pay_sn)}"  readonly/></td>
	
		<td class="form_title">部门代码：</td>
		<td class="form_input">
		<select id="dept_code" name="dept_code">
				 <c:forEach items="${departList}" var="d" varStatus="status">
					<option value="${d.dep_code}" <c:if test="${d.dep_code==po.dept_code }">selected="selected"</c:if> >${d.dep_code}</option>
				</c:forEach>
		</select>
		</td>
		<td class="form_title">制单日期：</td>
		<td class="form_input"><input type="text" id="create_date" name="create_date" value="${fn:escapeXml(po.create_date)}" /></td>
	</tr>
	<tr>
		<td class="form_title">计划采购申请单号：</td>
		<td class="form_input" colspan="5"><input type="text" id="plan_sn" name="plan_sn" value="${fn:escapeXml(po.plan_sn)}" /></td>
	</tr>
	<tr>
		<td class="form_title">审核内容：</td>
		<td class="form_input"  colspan="5"><textarea name="audit_remark" style="width:99%" rows="2" id="audit_remark">${fn:escapeXml(po.audit_remark)}</textarea></td>
	</tr>
</table>
<input type="hidden" name="id" value="${po.id}" />
</form>
</body>
</html>
